package com.stone.bigdata.dao.fota;

import com.stone.bigdata.domain.VO.CityTotalVO;
import com.stone.bigdata.domain.VO.UserStateVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.sql.Timestamp;
import java.util.List;

@Mapper
public interface ProductListDao {

    Integer getTotalAdd(@Param("zero") Timestamp zero, @Param("now") Timestamp now);

    List<CityTotalVO> listCityTotal();

    List<CityTotalVO> listCityActiveTotal(@Param("yesterdayZero") Timestamp yesterdayZero, @Param("yesterdayEnd") Timestamp yesterdayEnd);

    List<UserStateVO> listUserState();

    Integer getTotal();

}
